package com.lw.ssm.exceptions;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/10 11:00
 */
public class MyBaseException extends RuntimeException{

    private int code;

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
